BEGIN;
	ALTER TABLE offers ADD CONSTRAINT constraint_only_one_accepted_offer_per_request
	CHECK(NOT(item_owner_agreed AND requester_agreed AND another_offer_accepted));
END;
